<h1>施設</h1>
<hr noshade size="1" />

  <div class="row">
    <div class="span8" id="sidebar">
    <h2>予約可能施設一覧</h2>
      <div id="contentLeft">

<table class="table table-striped table-borderd">
<thead>
<tr>
  <th>Id</th>
  <th>Roomname</th>
  <th>Content</th>
  <th>Category</th>
  <th>Created_at</th>
</tr>
</thead>
<tbody>
<?php $categorys = sfConfig::get("app_room_categorys")?>

<?php foreach ($rooms as $room):?>
<tr>
  <td><?php echo $room->getID()?></td>
  <td><?php echo $room->getRoomname()?></td>
  <td><?php echo $room->getContent()?></td>
  <td><?php echo isset($categorys[$room->getCategoryId()])?></td>
  <td><?php echo $room->getCreatedAt()?></td>
</tr>
<?php endforeach;?>
</tbody>
</table>

      </div><!-- /contentLeft -->
    </div><!-- /sidebar -->

    <div class="span4" id="main">
    <h2>予約</h2>
      <div id="contentRight">
        <div class="tabbable">

<?php echo form_tag("@roomsubmit","method=post multipart=true")?>
ROOM
<br>
<?php echo input_tag("roomname","",array("size" => 20))?>
<br>
DATE
<br>
<div>
<script type="text/javascript">
$('.datepicker').datepicker()
</script>
<input type="text" value="" name="start_date" id="rangeBa">
<input type="text" value="" name="end_date" id="rangeBb">
</div>
<br>
<?php echo submit_tag("予約する")?>

</form>
            <ul id="icons" class="ui-widget ui-helper-clearfix">
            <li class="ui-state-default ui-corner-all" title=".ui-icon-carat-1-n"><span class="ui-icon ui-icon-carat-1-n"></span></li>
            </ul>

        ここに予約フォームがくる
            <!-- Datepicker -->
            <h2 class="demoHeaders">Datepicker</h2>
            <div id="datepicker"></div>
            <!--end datepicker-->

      </div><!-- /contentLeft -->
    </div><!-- /sidebar -->
      </div><!-- /contentRight -->
    </div><!-- /main -->

  </div><!-- /row -->
